#define _CRT_SECURE_NO_WARNINGS 1
#define i 3.14
#include<stdio.h>
int main()
{

	float s, r, c;
	scanf("%f", &r);
	c = 2 * i * r;
	s = i * r * r;
	printf("%f %f", c, s);



	return 0;
}